package com.test.util;

/**
 * 随机数工具类
 */
public class randomUtil {

    /**
     * 11位数的随机数
     */
    public static int random() {
        int randomNum = (int) (Math.random() * (11) + 1);
        return randomNum;
    }

    public static int randomTree() {
        int randomNum = (int) (Math.random() * (3) + 1);
        return randomNum;
    }
}
